package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;

@Data
@ApiModel("黑名单创建参数")
public class UserBlacklistCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "userId参数缺失")
    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @NotNull(message = "toUserId参数缺失")
    @ApiModelProperty(value = "对方ID")
    private Integer toUserId;

}
